import java.sql.SQLOutput;

public class AirConditioner implements Device{
    private String brand;

    public AirConditioner(String brand){
        this.brand = brand ;
    }
    public void powerOn(){
        System.out.println(brand + "空调开机，默认制冷模式...");
    }
    public void powerOff(){
        System.out.println(brand +"空调关机，已记忆设置");
    }

    public void repair (){
        System.out.print(brand + "空调报修，可能不制冷或异响");
    }
}



